import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
  {
    path: '/',
    component: HomeView,
    children: [
      {
        path:'/account',
        component: () => import("../views/AccountSet.vue"),
      }
    ]
  },{
    path: '/revamp',
    component: ()=> import("../views/account/revamp.vue")
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
